package com.xc.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties("alioss")
@Data
public class AliossProperties {
    // bucket名字
    private String bucketName;
    // 地域
    private String endpoint;
    // 阿里云账号AccessKey
    private String ossAccessKeyId;
    // 阿里云账号AccessKey对应的秘钥
    private String ossAccessKeySecret;
}
